#pragma once
#include "stdafx.h"

#include <Winsock2.h>
#include<string>
using namespace std;

typedef string ResponseMessage;

//typedef struct _ResponseMessage
//{
//  string msg;
//  const char *c_str()
//  {
//	 return msg.c_str();
//  }
//}ResponseMessage;


class CSocketManager
{
public:
	CSocketManager(void);
	~CSocketManager(void);

	void startWorking();

	static CSocketManager *getInstance();

	ResponseMessage buildResponseMsg(const char* resMsg);

private:
	//SOCKET _sockClient;

	SOCKET _sockSrv;
	
};
